
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>766智能家网上商城 - 766 SMART HOME</title>

<link href="resources/shop/css/product.css" rel="stylesheet"
	type="text/css" />
<link href="resources/shop/css/customer.css" rel="stylesheet"
	type="text/css" />

<link href="resources/shop/css/bootstrap.min.css" rel="stylesheet">
<!-- 顶部的CSS样式 -->
<link href="resources/shop/css/head.css" rel="stylesheet">
<link href="resources/shop/css/home.css" rel="stylesheet">

<!-- 底部的CSS样式 -->
<link href="resources/shop/css/footer.css" rel="stylesheet">
<!-- 自己定义的CSS样式 -->
<link href="resources/shop/css/product_list.css" rel="stylesheet">
<link href="resources/shop/css/common_product.css" rel="stylesheet">

<!--[if lt IE 9]>
        <script src="resources/shop/js/html5shiv.js" charset="gb2312"></script>
        <script src="resources/shop/js/respond.min.js" charset="gb2312"></script>
        <![endif]-->

<script src="resources/shop/js/jquery-1.11.1.min.js" charset="gb2312"></script>
<script src="resources/shop/js/common.js" charset="gb2312"></script>
<script src="resources/shop/js/common_another.js" charset="gb2312"></script>
<script src="resources/shop/js/public.js" charset="gb2312"></script>

<script type="text/javascript" src=" resources/shop/js/jquery.js"></script>
</head>
<body>
	<!-- 顶部====开始 -->
	<div>
		<!--第一个顶部导航-->
		<div class="navbar navbar-default first-top-nav hidden-sm  hidden-xs"
			id="start">
			<div class="container" id="top-navigation">
				<div class="container-fluid">

					<div class="row top-info">
						<div class="col-md-2 col-sm-2 col-lg-2 top-info-content">
							<img src="resources/shop/images/dingwei_black.png"
								class="img-responsive" alt="Responsive image"
								id="pic_dingwei_huang">
							<!--<img src="resources/shop/images/dingwei_huang.png" class="img-responsive" alt="Responsive image">-->
							成都 <small>[切换城市]</small>
						</div>
						<div class="col-md-2 col-sm-2 col-lg-2 top-info-content">欢迎来到智能家！</div>
						<div
							class="col-md-2 col-sm-3 col-lg-3 top-info-content text-right"
							id="user-login">
							<a href="/login.jhtml">您好,请登录</a>
						</div>
						<div class="col-md-2 col-sm-1 col-lg-1 top-info-content"
							id="user-register">
							<a href="/register.jhtml"> 免费注册</a>
						</div>
						<div
							class="dropdown col-md-2 col-sm-2 col-lg-2 top-info-content first-top-nav-dropdown"
							id="my-home766">
							<a class="btn btn-default dropdown-toggle" type="button"
								id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true"
								aria-expanded="false"> 我的智能家 <span class="caret"></span>
							</a>
							<ul class="dropdown-menu" aria-labelledby="dropdownMenu2"
								id="first-top-nav-dropdown-content">
								<li><a href="#">我的订单</a></li>
								<li><a href="#">我的购物车</a></li>
								<li><a href="#">我的收藏</a></li>
								<li><a href="#">我的优惠券</a></li>
							</ul>
						</div>

						<div class="col-md-2 col-sm-2 col-lg-2 top-info-content">客服电话：12212344321</div>
					</div>

				</div>
				<!-- /.container-fluid -->
			</div>
		</div>

		<!--第二个导航条-->
		<div class="navbar navbar-default  second-top-nav ">
			<div class="container" id="top-navigation">
				<div class="container-fluid">
					<!-- Brand and toggle get grouped for better mobile display -->
					<div class="navbar-header">
						<button type="button" class="navbar-toggle collapsed"
							data-toggle="collapse"
							data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
							<span class="sr-only">Toggle navigation</span> <span
								class="icon-bar"></span> <span class="icon-bar"></span> <span
								class="icon-bar"></span>
						</button>
						<a href="#">
							<div class="navbar-brand" href="/" id="second-top-linkto-home">
								<img src="resources/shop/images/766home_icon.png"
									id="second-top-home-icon">
							</div>
						</a>
					</div>

					<!-- Collect the nav links, forms, and other content for toggling -->
					<div class="collapse navbar-collapse"
						id="bs-example-navbar-collapse-1">
						<div id="hr"></div>
						<ul class="nav navbar-nav">
							<li class="<!--active-->"><a href="#">首页 <span
									class="sr-only">(current)</span></a></li>
							<li><a href="#">经典案例</a></li>
							<li class="dropdown " id="second-top-nav-dropdown"><a
								href="#" class="dropdown-toggle" data-toggle="dropdown"
								role="button" aria-haspopup="true" aria-expanded="false">智能方案
									<span class="caret"></span>
							</a>
								<ul class="dropdown-menu text-center">
									<li><a href="#">智能暖气</a></li>
									<li><a href="#">智能空调</a></li>
								</ul></li>
							<li><a href="#" onclick="scrollToId('union-seller-title');">品牌专区</a></li>
							<li><a href="#">售后服务</a></li>
						</ul>

						<div class="nav navbar-right hidden-sm hidden-md">
							<form class="navbar-form navbar-right" role="search">
								<div class="form-group">
									<input type="text" class="form-control" placeholder="Search">
									<img src="resources/shop/images/search.png">
								</div>
								<button type="submit" class="btn btn-default hidden">Submit</button>
							</form>
						</div>
					</div>
					<!-- /.navbar-collapse -->
				</div>
				<!-- /.container-fluid -->
			</div>
		</div>
	</div>
	<!-- 顶部导航====结束 -->

	<!-- 中间部分===开始 -->
	<div class="container productList">
		<div class="span24 last">
			<div class="path">
				<ul>
					<li><a href="/">智能暖风</a></li>
					<li class="last">
						<form class="navbar-form navbar-left" role="search">
							<div class="form-group">
								<input class="form-control" placeholder="在该条件下查找" type="text">
								<img src="resources/shop/images/search.png">
							</div>
							<!-- 								<button type="submit" class="btn btn-default hidden">Submit</button> -->
						</form>
					</li>
					<!-- 											<	input class="" placeholder="Search" type="text"> -->
					<form id="productForm" action="list.jhtml" method="get">
						<input type="hidden" id="orderType" name="orderType" value="" />
						<input type="hidden" name="type" value="14" /> <input
							type="hidden" id="pageNumber" name="pageNumber" value="1" /> <input
							type="hidden" id="pageSize" name="pageSize" value="10" /> <span
							class="page"> <label>共7件宝贝</label>
						</span>
					</form>
				</ul>
			</div>
			<form id="productForm" action="list.jhtml" method="get">
				<input type="hidden" id="orderType" name="orderType" value="" /> <input
					type="hidden" name="type" value="14" /> <input type="hidden"
					id="pageNumber" name="pageNumber" value="1" /> <input
					type="hidden" id="pageSize" name="pageSize" value="10" />

				<div id="filter" class="filter">
					<div class="title">所有分类 ></div>
					<div class="content clearfix">
						<dl class="last">
							<dt>
								<input type="hidden" id="acreage" name="acreage" value="" /> <span
									title="">面积:</span>
							</dt>
							<dd>
								<a href="javascript:;" class="areaTag" title="50以下" areaTag="28">50以下</a>
							</dd>
							<dd>
								<a href="javascript:;" class="areaTag" title="50-80"
									areaTag="29">50-80</a>
							</dd>
							<dd>
								<a href="javascript:;" class="areaTag" title="80-120"
									areaTag="122">80-120</a>
							</dd>
							<dd>
								<a href="javascript:;" class="areaTag" title="120以上"
									areaTag="123">120以上</a>
							</dd>
							<dd class="moreOption" title="更多">&nbsp;</dd>
						</dl>
						<dl class="last">
							<dt>
								<input type="hidden" name="attribute" value="" /> <span
									title="">属性:</span>
							</dt>
							<dd>
								<a href="javascript:;" class="attribute" title="一室一厅"
									attributeId="17">一室一厅</a>
							</dd>
							<dd>
								<a href="javascript:;" class="attribute" title="两室一厅"
									attributeId="18">两室一厅</a>
							</dd>
							<dd>
								<a href="javascript:;" class="attribute" title="三室一厅"
									attributeId="19">三室一厅</a>
							</dd>
							<dd>
								<a href="javascript:;" class="attribute" title="三室两厅"
									attributeId="20">三室两厅</a>
							</dd>
							<dd>
								<a href="javascript:;" class="attribute" title="四室两厅"
									attributeId="21">四室两厅</a>
							</dd>
							<dd>
								<a href="javascript:;" class="attribute" title="五室两厅"
									attributeId="22">五室两厅</a>
							</dd>
							<dd>
								<a href="javascript:;" class="attribute" title="两室两厅"
									attributeId="73">两室两厅</a>
							</dd>
							<dd>
								<a href="javascript:;" class="attribute" title="四室一厅"
									attributeId="75">四室一厅</a>
							</dd>
							<dd>
								<a href="javascript:;" class="attribute" title="四室三厅"
									attributeId="77">四室三厅</a>
							</dd>
							<dd>
								<a href="javascript:;" class="attribute" title="五室三厅"
									attributeId="81">五室三厅</a>
							</dd>
							<dd>
								<a href="javascript:;" class="attribute" title="五室一厅"
									attributeId="83">五室一厅</a>
							</dd>
							<dd class="moreOption" title="更多">&nbsp;</dd>
						</dl>

						<dl class="last">
							<input type="hidden" id="brandId" name="brandId" value="" />
							<dt>品牌:</dt>
							<dd>
								<a href="javascript:;" class="brand" title="法罗力" brandId="32">法罗力</a>
							</dd>
							<dd>
								<a href="javascript:;" class="brand" title="前锋" brandId="38">前锋</a>
							</dd>
							<dd class="moreOption" title="更多">&nbsp;</dd>
						</dl>
						<dl class="last">
							<input type="hidden" id="auxiliaryId" name="auxiliaryId" value="" />
							<dt>主材品牌:</dt>
							<dd>
								<a href="javascript:;" class="" title="金牛"
									name="brandAuxiliaryId" auxiliaryId="39">金牛</a>
							</dd>
							<dd>
								<a href="javascript:;" class="" title="曼瑞德"
									name="brandAuxiliaryId" auxiliaryId="40">曼瑞德</a>
							</dd>
							<dd>
								<a href="javascript:;" class="" title="八达"
									name="brandAuxiliaryId" auxiliaryId="41">八达</a>
							</dd>
							<dd>
								<a href="javascript:;" class="" title="铭仕"
									name="brandAuxiliaryId" auxiliaryId="42">铭仕</a>
							</dd>
							<dd>
								<a href="javascript:;" class="" title="嘉科米尼"
									name="brandAuxiliaryId" auxiliaryId="43">嘉科米尼</a>
							</dd>
							<dd>
								<a href="javascript:;" class="" title="普林多"
									name="brandAuxiliaryId" auxiliaryId="44">普林多</a>
							</dd>
							<dd>
								<a href="javascript:;" class="" title="保利"
									name="brandAuxiliaryId" auxiliaryId="45">保利</a>
							</dd>
							<dd>
								<a href="javascript:;" class="" title="普特斯/八达"
									name="brandAuxiliaryId" auxiliaryId="46">普特斯/八达</a>
							</dd>
							<dd>
								<a href="javascript:;" class="" title="万杨"
									name="brandAuxiliaryId" auxiliaryId="47">万杨</a>
							</dd>
							<dd class="moreOption" title="更多">&nbsp;</dd>
						</dl>
					</div>
					<div id="moreFilter" class="moreFilter">&nbsp;</div>
				</div>

				<!-- 布局==开始 -->
				<div class="bar">
					<div id="layout" class="layout">
						<label class="font-yellow">综合排序 </label> <label>销量 </label> <label>人气
						</label> <label>信用 </label>
						<!-- 						<a href="javascript:;" class="currentAsc current" title="" class="asc" orderType="priceAsc">信用</a> -->
						<div id="layout-type">
							<label>布局:</label> <a href="javascript:;" id="tableType"
								class="tableType"> <span>&nbsp;</span>
							</a> <a href="javascript:;" id="listType" class="listType"> <span>&nbsp;</span>
							</a>
						</div>
						<span class="page"> <label>< 1 / 1 ></label>
						</span>
					</div>
				</div>
				<!-- 布局==结束 -->

				<!--商品列表 -->
				<div id="result" class="result table clearfix">
					<ul>
						<li><a href="/shop/scheme/content.jhtml?id=110"
							target="_blank">
								<div>
									<img src="/upload/image/blank.gif" width="170" height="170"
										data-original="http://www.766home.com/upload/image/201604/3fd1b523-7152-462a-bd38-72de830a88e4.jpg" />
								</div> <span title="（爆款）反季装老房80㎡包干价15800元" class='commodity-title'>（爆款）反季装老房80㎡包干价15800元</span>
								<span class="price"> ￥15800.00 </span>
								<div class="classified-goods-cart">
									<!-- 购物车的图片在样式表中 -->
									<span class="text-center">加入购物车</span>
								</div>
						</a></li>
						<li><a href="/shop/scheme/content.jhtml?id=109"
							target="_blank">
								<div>
									<img src="/upload/image/blank.gif" width="170" height="170"
										data-original="http://www.766home.com/upload/image/201604/b388a992-9918-4c83-930b-83140ce599e5.jpg" />
								</div> <span title="（爆款）反季装老房50㎡包干价12800元" class='commodity-title'>（爆款）反季装老房50㎡包干价12800元</span>
								<span class="price"> ￥12800.00 </span>
								<div class="classified-goods-cart">
									<!-- 购物车的图片在样式表中 -->
									<span class="text-center">加入购物车</span>
								</div>
						</a></li>

						<!-- 第三个商品==开始 -->
						<li><a href="/shop/scheme/content.jhtml?id=103"
							target="_blank">
								<div>
									<img src="/upload/image/blank.gif" width="170" height="170"
										data-original="http://www.766home.com/upload/image/201604/68f1b8fd-290c-48f5-ae8c-06242c5fef2a.jpg" />
								</div> <span title="（爆款）315活动80㎡包干12800元" class='commodity-title'>（爆款）315活动80㎡包干12800元</span>
								<span class="price"> ￥12800.00 </span>
								<div class="classified-goods-cart">
									<!-- 购物车的图片在样式表中 -->
									<span class="text-center">加入购物车</span>
								</div>
						</a></li>
						<!-- 第三个商品==结束 -->
						<li><a href="/shop/scheme/content.jhtml?id=102"
							target="_blank">
								<div>
									<img src="/upload/image/blank.gif" width="170" height="170"
										data-original="http://www.766home.com/upload/image/201604/c45607a1-7ab5-4fd6-b5c7-bec8e5ce9d91.jpg" />
								</div> <span title="（爆款）315活动50㎡包干9800元" class='commodity-title'>（爆款）315活动50㎡包干9800元</span>
								<span class="price"> ￥9800.00 </span>
								<div class="classified-goods-cart">
									<!-- 购物车的图片在样式表中 -->
									<span class="text-center">加入购物车</span>
								</div>
						</a></li>
						<li><a href="/shop/scheme/content.jhtml?id=94"
							target="_blank">
								<div>
									<img src="/upload/image/blank.gif" width="170" height="170"
										data-original="http://www.766home.com/upload/image/201604/b5022a1c-e8e9-4daa-b332-43fa6c40d02a.jpg" />
								</div> <span title="明装暖气片" class='commodity-title'>明装暖气片</span> <span
								class="price"> ￥19582.88 </span>
								<div class="classified-goods-cart">
									<!-- 购物车的图片在样式表中 -->
									<span class="text-center">加入购物车</span>
								</div>
						</a></li>
						<li><a href="/shop/scheme/content.jhtml?id=92"
							target="_blank">
								<div>
									<img src="/upload/image/blank.gif" width="170" height="170"
										data-original="http://www.766home.com/upload/image/201604/1d88470c-db67-462d-965e-31dd991385d6.jpg" />
								</div> <span title="暖气片" class='commodity-title'>暖气片</span> <span
								class="price"> ￥19658.88 </span>
								<div class="classified-goods-cart">
									<!-- 购物车的图片在样式表中 -->
									<span class="text-center">加入购物车</span>
								</div>
						</a></li>
						<li><a href="/shop/scheme/content.jhtml?id=90"
							target="_blank">
								<div>
									<img src="/upload/image/blank.gif" width="170" height="170"
										data-original="http://www.766home.com/upload/image/201604/d0a33331-a449-419b-8fc4-ce46cd6c8d85.jpg" />
								</div> <span title="地暖采暖方案" class='commodity-title'>地暖采暖方案</span> <span
								class="price"> ￥23615.68 </span>
								<div class="classified-goods-cart">
									<!-- 购物车的图片在样式表中 -->
									<span class="text-center">加入购物车</span>
								</div>
						</a></li>
					</ul>
				</div>
			</form>
		</div>
	</div>


	<!--侧边栏-->
	<div class="sideColumn">
		<div class="sideColumn-right">
			<ul class="servers-show">
				<li class="border-bottom-none servers-phone-hui"><a href="#"
					class="clear-both"><img
						src="resources/shop/images/service_03.png" /></a></li>
				<li class="servers-qq-hui"><a href="#" class="clear-both"><img
						src="resources/shop/images/service_05.png" /></a></li>
			</ul>
			<ul class="servers-hide border-bottom-none">
				<li class="servers-phone">400-766-766</li>

				<li class="servers-qq"><a
					href="tencent://message/?uin=88888888"> <span>766客服</span><label>88888888</label>
				</a></li>

			</ul>
		</div>
		<!-- 回到顶部，响应式页面 -->
		<a class="goBack-home"><img src="resources/shop/images/goback.png" /></a>
	</div>
	<!-- 中间部分===结束 -->

	<!-- 底部====开始 -->
	<div class="col-sm-12 col-md-12 col-lg-12" id="footer">
		<div class="container">
			<div class="col-sm-2 col-md-2 col-lg-2" id="footer-left">
				<div>
					<img src="resources/shop/images/766home_icon2.png">

					<p>SMART HOME</p>

					<p>智能家</p>
				</div>
			</div>
			<div class="col-sm-10 col-md-10 col-lg-10" id="footer-right">
				<div class="col-sm-12 col-md-12 col-lg-12">
					<div class="col-sm-2 col-md-2 col-lg-2">
						<a href="#">网站首页</a>
					</div>
					<div class="col-sm-2 col-md-2 col-lg-2">
						<a href="#">关于智能家</a>
					</div>
					<div class="col-sm-2 col-md-2 col-lg-2">
						<a href="#">服务项目</a>
					</div>
					<div class="col-sm-2 col-md-2 col-lg-2">
						<a href="#">新闻动态</a>
					</div>
					<div class="col-sm-2 col-md-2 col-lg-2">
						<a href="#">暖通常识</a>
					</div>
					<div class="col-sm-2 col-md-2 col-lg-2">
						<a href="#">联系我们</a>
					</div>
				</div>
				<div class="col-sm-12 col-lg-12">
					<p>Copyright @2016-2017 766智能家网上商城 版权所有</p>

					<p>蜀CP备16002064号</p>
				</div>
			</div>
		</div>
	</div>
	<!-- 底部====结束 -->
	<script type="text/javascript"
		src="resources/shop/js/jQuery-jcContact.js"></script>
	<script type="text/javascript"
		src="resources/shop/js/jquery.lazyload.js"></script>
	<script type="text/javascript" src="resources/shop/js/common.js"></script>
	<script type="text/javascript" src="resources/shop/js/public.js"></script>
	<script type="text/javascript">
		$().ready(
				function() {

					var $productForm = $("#productForm");
					var $brandId = $("#brandId");
					var $brandAuxiliaryId = $("[name=brandAuxiliaryId]");
					var $auxiliaryId = $("[name=auxiliaryId]").val();
					var $promotionId = $("#promotionId");
					var $orderType = $("#orderType");
					var $pageNumber = $("#pageNumber");
					var $pageSize = $("#pageSize");
					var $filter = $("#filter dl");
					var $lastFilter = $("#filter dl:eq(2)");
					var $hiddenFilter = $("#filter dl:gt(2)");
					var $moreOption = $("#filter dd.moreOption");
					var $moreFilter = $("#moreFilter a");
					var $tableType = $("#tableType");
					var $listType = $("#listType");
					var $orderSelect = $("#orderSelect");
					var $brand = $("#filter a.brand");
					var $attribute = $("#filter a.attribute");
					var $previousPage = $("#previousPage");
					var $nextPage = $("#nextPage");
					var $size = $("#layout a.size");
					var $tagIds = $("input[name='tagIds']");
					var $sort = $("#sort a");
					var $startPrice = $("#startPrice");
					var $endPrice = $("#endPrice");
					var $result = $("#result");
					var $productImage = $("#result img");
					var $acreage = $("#acreage");
					var $areaTag = $("#filter a.areaTag");

					$filter.each(function() {
						var $this = $(this);
						var height = $this.height();
						if (height > 30) {
							$this.find("dt").height(height);
							if ($this.find("a.current").size() == 0) {
								$this.height(30);
								$this.find(".moreOption").show();
							}
						}
					});

					$moreOption.click(function() {
						var $this = $(this);
						if ($this.hasClass("close")) {
							$this.removeClass("close");
							$this.attr("title", "更多");
							$this.parent().height(30);
						} else {
							$this.addClass("close");
							$this.attr("title", "收起");
							$this.parent().height("auto");
						}
					});

					$moreFilter.click(function() {
						var $this = $(this);
						if ($this.hasClass("close")) {
							$this.removeClass("close");
							$this.text("更多选项");
							$lastFilter.addClass("last");
							$hiddenFilter.hide();
						} else {
							$this.addClass("close");
							$this.text("收起选项");
							$lastFilter.removeClass("last");
							$hiddenFilter.show();
						}
					});

					$brand.click(function() {
						var $this = $(this);
						if ($this.hasClass("current")) {
							$brandId.val("");
						} else {
							$brandId.val($this.attr("brandId"));
						}
						$pageNumber.val(1);
						$productForm.submit();
						return false;
					});
					$brandAuxiliaryId.click(function() {
						var $this = $(this);
						var auxiliaryId = $(this).attr("auxiliaryId");
						if ($this.hasClass("current")) {
							$("[name=auxiliaryId]").val("");
						} else {
							$("[name=auxiliaryId]").val(auxiliaryId);
						}
						$pageNumber.val(1);
						$productForm.submit();
						return false;
					});
					$areaTag.click(function() {
						var $this = $(this);
						if ($this.hasClass("current")) {
							$acreage.val("");
						} else {
							$acreage.val($this.attr("areaTag"));
						}
						$pageNumber.val(1);
						$productForm.submit();
						return false;
					});

					$attribute.click(function() {
						var $this = $(this);
						if ($this.hasClass("current")) {
							$this.closest("dl").find("input").prop("disabled",
									true);
						} else {
							$this.closest("dl").find("input").prop("disabled",
									false).val($this.attr("attributeId"));
						}
						$pageNumber.val(1);
						$productForm.submit();
						return false;
					});

					var layoutType = getCookie("layoutType");
					if (layoutType == "listType") {
						$listType.addClass("currentList");
						$result.removeClass("table").addClass("list");
					} else {
						$tableType.addClass("currentTable");
						$result.removeClass("list").addClass("table");
					}

					$tableType.click(function() {
						var $this = $(this);
						if (!$this.hasClass("currentTable")) {
							$this.addClass("currentTable");
							$listType.removeClass("currentList");
							$result.removeClass("list").addClass("table");
							addCookie("layoutType", "tableType", {
								path : "/"
							});
						}
					});

					$listType.click(function() {
						var $this = $(this);
						if (!$this.hasClass("currentList")) {
							$this.addClass("currentList");
							$tableType.removeClass("currentTable");
							$result.removeClass("table").addClass("list");
							addCookie("layoutType", "listType", {
								path : "/"
							});
						}
					});

					$size.click(function() {
						var $this = $(this);
						$pageNumber.val(1);
						$pageSize.val($this.attr("pageSize"));
						$productForm.submit();
						return false;
					});

					$previousPage.click(function() {
						$pageNumber.val(0);
						$productForm.submit();
						return false;
					});

					$nextPage.click(function() {
						$pageNumber.val(2);
						$productForm.submit();
						return false;
					});

					$orderSelect.mouseover(function() {
						var $this = $(this);
						var offset = $this.offset();
						var $menuWrap = $this.closest("div.orderSelect");
						var $popupMenu = $menuWrap.children("div.popupMenu");
						$popupMenu.css({
							left : offset.left,
							top : offset.top + $this.height()
						}).show();
						$menuWrap.mouseleave(function() {
							$popupMenu.hide();
						});
					});

					$tagIds.click(function() {
						$pageNumber.val(1);
						$productForm.submit();
					});

					$sort.click(function() {
						var $this = $(this);
						if ($this.hasClass("current")) {
							$orderType.val("");
						} else {
							$orderType.val($this.attr("orderType"));
						}
						$pageNumber.val(1);
						$productForm.submit();
						return false;
					});

					$startPrice.add($endPrice).focus(function() {
						$(this).siblings("button").show();
					});

					$startPrice.add($endPrice).keypress(
							function(event) {
								var $this = $(this);
								var key = event.keyCode ? event.keyCode
										: event.which;
								if (key == 13
										|| (key >= 48 && key <= 57)
										|| (key == 46 && $this.val().indexOf(
												".") == -1)) {
									return true;
								} else {
									return false;
								}
							});

					$productForm
							.submit(function() {
								if ($brandId.val() == "") {
									$brandId.prop("disabled", true)
								}
								if ($("[name=auxiliaryId]").val() == "") {
									$(this).prop("disabled", true);
								}
								if ($promotionId.val() == "") {
									$promotionId.prop("disabled", true)
								}
								if ($orderType.val() == ""
										|| $orderType.val() == "topDesc") {
									$orderType.prop("disabled", true)
								}
								if ($pageNumber.val() == ""
										|| $pageNumber.val() == "1") {
									$pageNumber.prop("disabled", true)
								}
								if ($pageSize.val() == "") {
									$pageSize.prop("disabled", true)
								}
								if ($startPrice.val() == ""
										|| !/^\d+(\.\d+)?$/.test($startPrice
												.val())) {
									$startPrice.prop("disabled", true)
								}
								if ($endPrice.val() == ""
										|| !/^\d+(\.\d+)?$/.test($endPrice
												.val())) {
									$endPrice.prop("disabled", true)
								}
							});

					$productImage.lazyload({
						threshold : 100,
						effect : "fadeIn"
					});

					$.pageSkip = function(pageNumber) {
						$pageNumber.val(pageNumber);
						$productForm.submit();
						return false;
					}

				});
	</script>
</body>
</html>